<?php
include "../include/lib_func.php";

	$id_pesanan  = $_GET[id];
	$id_produk	 = $_GET[idp];
	
	
	$kon = koneksi_db();
	$sql = "delete from pesanan_item where id_pesanan='$id_pesanan' and id_produk='$id_produk'";
	$q	 = mysql_query($sql,$kon);
	
	echo "<script language='javascript'>window.location = '../view_keranjang.php'</script>";
?>